package io.datajek.springmvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TennisController {


//    @RequestMapping(value = "/")
//    @ResponseBody
//    public String welcome() {
//        return "Welcome to the Tennis Player database from Spring MVC!";
//    }
    @RequestMapping(value = "/")
    public String welcome() {
        return "main-menu";
    }
}
